package com.yunfeisoft.base.dao.inter;

import com.yunfeisoft.base.model.WorkflowStep;
import com.yunfeisoft.common.base.BaseDao;
import com.yunfeisoft.common.utils.Page;

import java.util.List;
import java.util.Map;

/**
 * ClassName: WorkflowStepDao
 * Description: 流程步骤定义Dao
 * Author: Jackie liu
 * Date: 2020-01-03
 */
public interface WorkflowStepDao extends BaseDao<WorkflowStep, String> {

    public Page<WorkflowStep> queryPage(Map<String, Object> params);

    public int removeByWorkflowDefineId(String workflowDefineId);

    public List<WorkflowStep> queryByWorkflowDefineId(String workflowDefineId);

    public WorkflowStep getNextStep(String workflowDefineId, int stepNum);
}